ABC070 D - Transit Tree Path